package com.pro.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.pro.dao.impl.DesignerDaoImpl;
import com.pro.util.BaseServlet;

/**
 * Servlet implementation class DesignerServlet
 */
public class DesignerServlet extends BaseServlet {
	private static final long serialVersionUID = 1L;
	
	DesignerDaoImpl daoImpl =  new DesignerDaoImpl();
	
	public void designerAll(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
		request.setAttribute("dList", daoImpl.designerAll());
		request.getRequestDispatcher("about.jsp").forward(request, response);
	}
}
